package video.dao;

import java.util.List;


import video.entity.Type;
import video.entity.Video;

public interface VideoDao {

	List<Video> getvideo();

	String findtypeByid(String tid);

	int deletevideo(String vid);

	int addvideo(Video nVideo);

	Video findvideobyid(String uid);

	int updatevideo(Video nVideo);

	List<Type> gettypes();

	List<Video> getvideobyType(String tid);

	List<Video> videoslList();
	
	List<Video> findgetvideo(String search);

	List<Video> getvideonp();

	Video findpandnp(Video video);

}
